package com.wanda.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.wanda.dao.Reception_RecordDAO;
import com.wanda.model.CustomerModel;
import com.wanda.model.Reception_RecordModel;
import com.wanda.service.Reception_RecordService;

@Service
public class Reception_RecordServiceImpl implements Reception_RecordService {

	@Autowired
	
	private Reception_RecordDAO reception_recordDAO;
	
	public int addReception_Record(Reception_RecordModel recption_record) {
		// TODO Auto-generated method stub
		return reception_recordDAO.addReception_Record(recption_record);
	}

	public int updateReception_Record(Reception_RecordModel recption_record) {
		// TODO Auto-generated method stub
		return reception_recordDAO.updateReception_Record(recption_record);
	}

	public int deleteReception_Record(Reception_RecordModel recption_record) {
		// TODO Auto-generated method stub
		return reception_recordDAO.deleteReception_Record(recption_record);
	}

	public List<Reception_RecordModel> selectAll(String delete_state) {
		// TODO Auto-generated method stub
		return reception_recordDAO.selectAll(delete_state);
	}

	public List<Reception_RecordModel> selectById(String recption_record_id) {
		// TODO Auto-generated method stub
		return reception_recordDAO.selectById(recption_record_id);
	}

	public List<Reception_RecordModel> selectBySql(int page,int rows,String SearchSql) {
		// TODO Auto-generated method stub
		return reception_recordDAO.selectBySql(page,rows,SearchSql);
	}
   

}
